#include "filechat.h"

fileChat::fileChat(QWidget *parent) : QLabel(parent)
{
    // 设置宽高
    this->setFixedSize(227, 70);
    this->setText("文件");
    this->setStyleSheet("QLabel{background-color:#fff;padding-left:10px;line-height:30px;font-weight:bold;}");
    QLabel *SideBar = new QLabel(this);
    SideBar->setGeometry(180, 15, 29, 40);
    SideBar->setStyleSheet("background-image: url(../weChat/images/fileIcon.png);");
}
